

package com.hazelcast.internal.config;

import com.hazelcast.config.NearCachePreloaderConfig;

public class NearCachePreloaderConfigReadOnly extends NearCachePreloaderConfig {

    @SuppressWarnings("unused")
    public NearCachePreloaderConfigReadOnly() {
    }

    public NearCachePreloaderConfigReadOnly(NearCachePreloaderConfig nearCachePreloaderConfig) {
        super(nearCachePreloaderConfig);
    }

    @Override
    public NearCachePreloaderConfig setEnabled(boolean isEnabled) {
        throw new UnsupportedOperationException();
    }

    @Override
    public NearCachePreloaderConfig setDirectory(String directory) {
        throw new UnsupportedOperationException();
    }

    @Override
    public NearCachePreloaderConfig setStoreInitialDelaySeconds(int storeInitialDelaySeconds) {
        throw new UnsupportedOperationException();
    }

    @Override
    public NearCachePreloaderConfig setStoreIntervalSeconds(int storeIntervalSeconds) {
        throw new UnsupportedOperationException();
    }

    @Override
    public int getClassId() {
        throw new UnsupportedOperationException("NearCachePreloaderConfigReadOnly is not serializable");
    }
}
